package com.fsy.mapper;

import com.fsy.entities.Roles;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 凡凡
* @description 针对表【roles】的数据库操作Mapper
* @createDate 2022-04-17 20:38:33
* @Entity com.fsy.entities.Roles
*/
@Mapper
public interface RolesMapper extends BaseMapper<Roles> {
    /**
     * 查询所有角色
     * @param roles
     * @return
     */
    List<Roles> selectRolesById(Roles roles);

    /**
     * 查询总数
     * @param roles
     * @return
     */
    int selectCounts(Roles roles);
}




